if(DEFINED CONFIG_ENABLE_SMART_FARM_DEVICE)
    set(SOURCES_LIST
        ${CMAKE_CURRENT_SOURCE_DIR}/main.c
        ${CMAKE_CURRENT_SOURCE_DIR}/sle_server_adv.c
        ${CMAKE_CURRENT_SOURCE_DIR}/sle_server.c
        ${CMAKE_CURRENT_SOURCE_DIR}/my_pwm.c
        ${CMAKE_CURRENT_SOURCE_DIR}/my_gpio.c
        ${CMAKE_CURRENT_SOURCE_DIR}/ws2812.c

        ${CMAKE_CURRENT_SOURCE_DIR}/CO2.c
        ${CMAKE_CURRENT_SOURCE_DIR}/temp_mois.c
        ${CMAKE_CURRENT_SOURCE_DIR}/pH_TDS_DO_LIGHT.c
        ${CMAKE_CURRENT_SOURCE_DIR}/water.c
    )

    set(PUBLIC_HEADER_LIST
        ${CMAKE_CURRENT_SOURCE_DIR}
    )

    set(SOURCES "${SOURCES_LIST}" PARENT_SCOPE)
    set(PUBLIC_HEADER "${PUBLIC_HEADER_LIST}" PARENT_SCOPE)
endif()